{extend name="index/nav" /}}
{block name="main"}
<link rel="stylesheet" href="/static/adminLogin/js/summernote-master/dist/summernote-lite.css">
<script src="/static/adminLogin/js/summernote-master/dist/jquery-1.11.0.min.js"></script>
<div class="body">
    <div class="">
        <h2>添加游戏</h2>
    </div>
    <div class="">
        <form action="{:url('admin/index/toGame')}" class="am-form am-form-horizontal" role="form" enctype="multipart/form-data" method="post">
            <div class="">
                <label for="doc-ipt-1" class="">上传图片</label>
                <div class="">
                    <input type="file" id="doc-ipt-1"name="image[]" multiple="multiple" >
                    <div class="img-show" style="display: none">
                        <!--<span>图片预览</span>-->
                        <span class="image-width">
                        </span>
                    </div>
                </div>
            </div>
            <div class="">
                <label for="doc-ipt-2" class="">游戏名称</label>
                <div class="">
                    <input type="text" id="doc-ipt-2"name="name">
                </div>
            </div>
            <div class="">
                <label for="" class="">游戏简介</label>
                <div class="">
                    <textarea class="introduce" name="introduce"></textarea>
                </div>
            </div>
            <div class="">
                <label for="grade" class="">选择等级</label>
                <div class="">
                    <select name="grade" id="grade">
                        <option value="1">热门游戏</option>
                        <option value="2">游戏</option>
                        <option value="3">强烈推荐</option>
                    </select>
                </div>
            </div>
            <div class="">
                <label for="down" class="">选择等级</label>
                <div class="">
                    <select name="down" id="down">
                        <option value="1">下载</option>
                        <option value="2">敬请期待</option>
                    </select>
                </div>
            </div>
            <div class="">
                <button type="submit" class="btn-default">提交</button>
            </div>
        </form>
    </div>
</div>

<script src="/static/adminLogin/js/summernote-master/dist/summernote-lite.js"></script>
<script src="/static/adminLogin/js/summernote-master/lang/summernote-zh-CN.js"></script>
<script>
    $('#collapse-nav4').addClass('am-in');
</script>
{/block}